 |
API Documentation
|
|
|
static ContentLoadResultCamera loadCameraDeclaration(const nkMemory::StringView &pathFromData)
static nkExport::ExporterLoadResult inputData(const nkMemory::StringView &filePath)
static ContentLoadResultNode loadNodeDeclaration(const nkMemory::StringView &pathFromData)
static ContentLoadResultProgram loadShaderProgramDeclaration(const nkMemory::StringView &pathFromData, bool loadResource=true)
static ContentLoadResultCompositor processCompositorTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultCompositorNode appendCompositorNodeFromSources(const nkMemory::StringView &sources, Compositor *parent)
static ContentLoadResultDepthStencilState processDepthStencilStateTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultShaderMemorySlot loadShaderMemorySlotDeclaration(const nkMemory::StringView &pathFromData)
static ContentLoadResultCamera processCameraSources(const nkMemory::StringView &sources)
static nkExport::ExporterLoadResult inputDataSources(const nkMemory::StringView &sources)
static ContentLoadResultCamera processCameraTree(nkExport::Node *tree)
static ContentLoadResultPass loadPassDeclaration(const nkMemory::StringView &pathFromData)
static ContentLoadResultCompositor loadCompositorDeclaration(const nkMemory::StringView &pathFromData, bool loadResource=true)
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
static ContentLoadResultDepthStencilState loadDepthStencilStateDeclaration(const nkMemory::StringView &pathFromData, bool loadResource=true)
static ContentLoadResultSampler processSamplerSources(const nkMemory::StringView &sources, bool loadResource=true)
static ContentLoadResultBlendState processBlendStateSources(const nkMemory::StringView &sources, bool loadResource=true)
static ContentLoadResultShader processShaderDeclarationTree(nkExport::Node *tree, bool loadResource=true)
A compositor, describing how to compose the rendering pipeline.
Definition: Compositor.h:21
static ContentLoadResultBlendState loadBlendStateDeclaration(const nkMemory::StringView &pathFromData, bool loadResource=true)
static ContentLoadResultCompositor processCompositorSources(const nkMemory::StringView &sources, bool loadResource=true)
static ContentLoadResultConstantBuffer processConstantBufferSources(const nkMemory::StringView &sources)
static ContentLoadResultCompositorNode appendCompositorNodeFromTree(nkExport::Node *tree, Compositor *parent)
static ContentLoadResultNode processNodeSources(const nkMemory::StringView &sources)
Holds the information about a try to import data sources.
Definition: ExporterLoadResult.h:15
static ContentLoadResultMesh loadMeshDeclaration(const nkMemory::StringView &pathFromData, bool loadResource=true)
static ContentLoadResultConstantBuffer processConstantBufferDeclarationTree(nkExport::Node *tree)
static ContentLoadResultRenderQueue processRenderQueueTree(nkExport::Node *tree)
static bool saveTreeDeclaration(nkExport::Node *tree, const nkMemory::StringView &pathFromData)
static ContentLoadResultRenderQueue loadRenderQueueDeclaration(const nkMemory::StringView &pathFromData)
static ContentLoadResultRasterState processRasterStateSources(const nkMemory::StringView &sources, bool loadResource=true)
static ContentLoadResultProgram processShaderProgramSources(const nkMemory::StringView &sources, bool loadResource=true)
static ContentLoadResultProgram processShaderProgramTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultShader processShaderDeclarationSources(const nkMemory::StringView &sources, bool loadResource=true)
static ContentLoadResultCompositorNode appendCompositorNodeFromFile(const nkMemory::StringView &pathFromData, Compositor *parent)
static ContentLoadResultShaderMemorySlot processShaderMemorySlotDeclarationTree(nkExport::Node *tree)
static ContentLoadResultBlendState processBlendStateTree(nkExport::Node *tree, bool loadResource=true)
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
static ContentLoadResultShaderMemorySlot processShaderMemorySlotSources(const nkMemory::StringView &sources)
static ContentLoadResultSampler processSamplerTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultPass processPassTree(nkExport::Node *tree)
static ContentLoadResultSampler loadSamplerDeclaration(const nkMemory::StringView &pathFromData, bool loadResource=true)
Utility class that allows to load content through their declaration files.
Definition: ContentLoader.h:12
static ContentLoadResultRasterState loadRasterStateDeclaration(const nkMemory::StringView &pathFromData, bool loadResource=true)
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
static ContentLoadResultNode processNodeTree(nkExport::Node *tree)
static ContentLoadResultShader loadShaderDeclaration(const nkMemory::StringView &pathFromData, bool loadResource=true)
static ContentLoadResultBuffer processBufferDeclarationTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultTexture processTextureSources(const nkMemory::StringView &sources, bool loadResource=true)
static ContentLoadResultPass processPassSources(const nkMemory::StringView &sources)
static ContentLoadResultBuffer loadBufferDeclaration(const nkMemory::StringView &pathFromData, bool loadResource=true)
static ContentLoadResultMesh processMeshSources(const nkMemory::StringView &sources, bool loadResource=true)
static ContentLoadResultBuffer processBufferSources(const nkMemory::StringView &sources, bool loadResource=true)
static ContentLoadResultTexture loadTextureDeclaration(const nkMemory::StringView &pathFromData, bool loadResource=true)
Holds information about an attempt of parsing content declaration sources.
Definition: ContentLoadResult.h:23
static bool saveObjectDeclaration(nkExport::Exportable *object, const nkMemory::StringView &pathFromData)
static ContentLoadResultDepthStencilState processDepthStencilStateSources(const nkMemory::StringView &sources, bool loadResource=true)
static ContentLoadResultRenderQueue processRenderQueueSources(const nkMemory::StringView &sources)
static ContentLoadResultRasterState processRasterStateTree(nkExport::Node *tree, bool loadResource=true)
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
static std::string inputDataStr(const nkMemory::StringView &filePath)
static ContentLoadResultMesh processMeshTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultTexture processTextureTree(nkExport::Node *tree, bool loadResource=true)
static bool outputData(const nkMemory::StringView &content, const nkMemory::StringView &path)
static ContentLoadResultConstantBuffer loadConstantBufferDeclaration(const nkMemory::StringView &pathFromData)